package cn.pugle.redis;

import redis.clients.jedis.Jedis;

/**
 * Created by tzp on 7/27/16.<br>
 */
public class JedisTest {
    public static void main(String[] args) {
        Jedis jedis = new Jedis("localhost");
        System.out.println(jedis.get("foo"));
        jedis.lpush("list", "1","2");
        System.out.println(jedis.rpop("list"));
        jedis.close();
    }
}
